package com.example.sharding.jdbc.demo.config.properties;

import lombok.Getter;
import lombok.Setter;
import org.apache.shardingsphere.infra.yaml.config.YamlConfiguration;
import org.apache.shardingsphere.sharding.yaml.config.rule.YamlTableRuleConfiguration;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * 表配置
 *
 * @author airtrioa
 * @date 2021/5/6
 */
@Getter
@Setter
public class YamlShardingRuleProperties implements YamlConfiguration {
  private Map<String, YamlTableRuleConfiguration> tables = new LinkedHashMap<>();
}
